package com.xcf.service.business.entities;
import java.util.List;
import com.xcf.entity.business.entities.Entity;
import com.xcf.util.PageData;

/**	角色接口类
 * @author Micro Chen
 * 修改日期：2017.10.27
 */
public interface EntityManager {
	
	/**列出此组下级角色
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Entity> listAllEntitiesByPId(PageData pd) throws Exception;
	
	/**通过id查找
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public PageData findObjectById(PageData pd) throws Exception;
	
	/**添加
	 * @param pd
	 * @throws Exception
	 */
	public void add(PageData pd) throws Exception;
	
	/**保存修改
	 * @param pd
	 * @throws Exception
	 */
	public void edit(PageData pd) throws Exception;
	
	/**删除角色
	 * @param Entity_ID
	 * @throws Exception
	 */
	public void deleteEntityById(String Entity_ID) throws Exception;
	
	/**给当前角色附加菜单权限
	 * @param entity
	 * @throws Exception
	 */
	public void updateEntityRights(Entity entity) throws Exception;
	


}
